<div style="background-color:#CCC;width:800px;">
<form action="?c=admin&a=hgroupupdate&uid=<?php echo $uid; ?>&gid=<?php echo $row["gid"]; ?>" method="post">
	<table width="100%" border="0" cellpadding="5" cellspacing="1">
		<tr><td width="50">等级:</td><td><input type="text" name="lv" value="<?php echo $row["lv"]; ?>" /></td></tr>
		<tr><td>状态:</td><td><input type="text" name="stat" value="<?php echo $row["stat"]; ?>" /></td></tr>
		<tr><td>阵型:</td><td style="text-align:left;">
			<?php
			if($row["grid"]) {
			foreach($row["grid"] as $pos => $hid) {
			?>
				<div><input type="text" name="grid[]" value="<?php echo "{$pos}:{$hid}"; ?>" /></div>
			<?php }} ?>
			<div><input type="text" name="grid[]" value="" /></div>
			<div><input type="text" name="grid[]" value="" /></div>
			<div><input type="text" name="grid[]" value="" /></div>
			<div><input type="text" name="grid[]" value="" /></div>
			<div><input type="text" name="grid[]" value="" /></div>
		</td></tr>
		<tr><td></td><td><input type="submit" name="submit" value="  提 交  " /></td></tr>
	</table>
</form>
</div>